package com.learn.project2.mapper;

import com.learn.project2.bean.NewMarketRolePermissionGrandson;
import com.learn.project2.bean.NewMarketRolePermissionGrandsonExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface NewMarketRolePermissionGrandsonMapper {
    long countByExample(NewMarketRolePermissionGrandsonExample example);

    int deleteByExample(NewMarketRolePermissionGrandsonExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(NewMarketRolePermissionGrandson record);

    int insertSelective(NewMarketRolePermissionGrandson record);

    List<NewMarketRolePermissionGrandson> selectByExample(NewMarketRolePermissionGrandsonExample example);

    NewMarketRolePermissionGrandson selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") NewMarketRolePermissionGrandson record, @Param("example") NewMarketRolePermissionGrandsonExample example);

    int updateByExample(@Param("record") NewMarketRolePermissionGrandson record, @Param("example") NewMarketRolePermissionGrandsonExample example);

    int updateByPrimaryKeySelective(NewMarketRolePermissionGrandson record);

    int updateByPrimaryKey(NewMarketRolePermissionGrandson record);
}